<div>
    <div class="ibox">
        <div class="ibox-title">
            <h5>订单备货</h5>
            <div class="ibox-tools" style="top:10px;">
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
                    <i class="fa fa-times"></i> 返回
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">订单编码：</label>
                        <label class="">{{stockUpStoreOrderInfo.orderId}}</label>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">总金额:</label>
                        <label class="">{{stockUpStoreOrderInfo.payPrice}}</label>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">下单时间:</label>
                        <label class="">{{stockUpStoreOrderInfo.createTime}}</label>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">用户:</label>
                        <label class="">{{stockUpStoreOrderInfo.personName}}</label>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">是否分账:</label>
                        <label class="">{{stockUpStoreOrderInfo.profitSharing == 'N'?'否':'是'}}</label>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <label class="col-form-label">平台:</label>
                        <label class="">{{stockUpStoreOrderInfo.appName}}</label>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>商品信息</h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <table class="table table-stripped">
                <thead>
                    <tr>
                        <th class="text-center">
                            <input type="checkbox" class="i-checks" v-bind:checked="stockUpStoreOrderInfo.quan == true"
                                @click="checkAllCart($event)">
                        </th>
                        <th class="text-center">商品图片</th>
                        <th class="text-center">商品名称</th>
                        <th class="text-center">商品编号</th>
                        <th class="text-center">数量</th>
                        <th class="text-center">支付金额</th>
                        <th class="text-center">状态</th>
                        <th class="text-center">支付时间</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="(cart,index) in stockUpStoreOrderInfo.storeOrderCarts">
                        <td class="text-center">
                            <input type="checkbox" class="i-checks checkCartItem"
                                v-bind:value="cart.cartId" v-model="stockUpStoreOrderInfo.selectCarts">
                        </td>
                        <td class="text-center">
                            <div style="position: relative; display: inline-block;">
                                <img width="50" height="50" v-bind:src="cart.coverPhoto" style="border-radius: 10px;"
                                    onerror="this.src='/img/noPhoto.jpg';">
                            </div>
                        </td>
                        <td class="text-center">{{cart.prodName}}({{cart.specValue}})</td>
                        <td class="text-center">{{cart.productId}}</td>
                        <td class="text-center">{{cart.cartNum}}
                            <a href="javascript:void()" v-if="cart.cartNum> 1 " @click="_minusCartNum(cart)"><span class="fa fa-minus"></span></a>
                        </td>
                        <td class="text-center">{{cart.payPrice}}</td>
                        <td class="text-center">{{cart.stateName}}</td>
                        <td class="text-center">{{cart.createTime}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="ibox">
        <div class="ibox-title">
            <h5>说明</h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">核销单号</label>
                <div class="col-sm-8">
                    <input v-model="stockUpStoreOrderInfo.extOrderId" type="text" placeholder="必填，请填写核销单号"
                        class="form-control">
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">备货说明</label>
                <div class="col-sm-8 ">
                    <textarea v-model="stockUpStoreOrderInfo.stockUpRemark" placeholder="备货说明" class="form-control"></textarea>
                </div>
            </div>
            <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="_finishStockUpOrder()">备货完成</button>
            </div>

        </div>


    </div>





</div>